Telegram Group & Telegram Channel
تعرف ايه اللى بيحصل من وراك فى الـ JavaScript لما بتكتب كود زي ده؟

var str = "hello";
str = str.substring(0, 2);

الـ str هنا عبارة عن primitive type مش المفروض يبقى فيه properties او functions.
الـ JavaScript بتاخد الـ str وتعمل منه String Object وتنفذ ال substring وتاخد النتيجة على جنب وتمسح ال Object اللى اتعمل وتعمل من النتيجة value جديدة لـ str.

وتعرف ان الـ int فى الـ C# عبارة عن primitive type برضه لكنه فى الأصل struct. علشان كدة ممكن تلاقى فيه function زي ToString مثلاً عادي.

وتعرف ان الـ variables فى لغة زي Rust هى immutable بالفطرة ولو عايزن تبقى mutable لازم تحدد ده بنفسك.

تعرف ان الـ string فى C# يعتبر immutable لكن الـ StringBuilder يعتبر mutable
وان ال string فى الـ javascript برضه immutable لكنه فى لغة زي الـ PHP بيبقى mutable.

على الرغم من انك مش مطالب تعرف كل لغة بتتعامل مع الداتا ازاى لكنك مطالب بحاجتين
1- تعرف لغتك كويس بتعمل ايه من جوه
2- ماتفترضش ان اللى بيحصل فى لغتك بيحصل فى باقى اللغات (حتى لو فى تشابه كبير)

منقول



tg-me.com/codedevelopment/1902
Create:
Last Update:

تعرف ايه اللى بيحصل من وراك فى الـ JavaScript لما بتكتب كود زي ده؟

var str = "hello";
str = str.substring(0, 2);

الـ str هنا عبارة عن primitive type مش المفروض يبقى فيه properties او functions.
الـ JavaScript بتاخد الـ str وتعمل منه String Object وتنفذ ال substring وتاخد النتيجة على جنب وتمسح ال Object اللى اتعمل وتعمل من النتيجة value جديدة لـ str.

وتعرف ان الـ int فى الـ C# عبارة عن primitive type برضه لكنه فى الأصل struct. علشان كدة ممكن تلاقى فيه function زي ToString مثلاً عادي.

وتعرف ان الـ variables فى لغة زي Rust هى immutable بالفطرة ولو عايزن تبقى mutable لازم تحدد ده بنفسك.

تعرف ان الـ string فى C# يعتبر immutable لكن الـ StringBuilder يعتبر mutable
وان ال string فى الـ javascript برضه immutable لكنه فى لغة زي الـ PHP بيبقى mutable.

على الرغم من انك مش مطالب تعرف كل لغة بتتعامل مع الداتا ازاى لكنك مطالب بحاجتين
1- تعرف لغتك كويس بتعمل ايه من جوه
2- ماتفترضش ان اللى بيحصل فى لغتك بيحصل فى باقى اللغات (حتى لو فى تشابه كبير)

منقول

BY Web Development Code


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/codedevelopment/1902

View MORE
Open in Telegram


Web Development Code Telegram | DID YOU KNOW?

Date: |

To pay the bills, Mr. Durov is issuing investors $1 billion to $1.5 billion of company debt, with the promise of discounted equity if the company eventually goes public, the people briefed on the plans said. He has also announced plans to start selling ads in public Telegram channels as soon as later this year, as well as offering other premium services for businesses and users.

However, analysts are positive on the stock now. “We have seen a huge downside movement in the stock due to the central electricity regulatory commission’s (CERC) order that seems to be negative from 2014-15 onwards but we cannot take a linear negative view on the stock and further downside movement on the stock is unlikely. Currently stock is underpriced. Investors can bet on it for a longer horizon," said Vivek Gupta, director research at CapitalVia Global Research.

Web Development Code from ms


Telegram Web Development Code
FROM USA